home *** CD-ROM | disk | FTP | other *** search
- Path: asterix.uni-muenster.de!kutzeln
- From: Gerhard Kutzelnigg <kutzeln@uni-muenster.de>
- Newsgroups: comp.lang.c++
- Subject: inherited classes / functions
- Date: Fri, 2 Feb 1996 18:34:43 +0100
- Organization: Westfaelische Wilhelms-Universitaet Muenster, Germany
- Message-ID: <Pine.A32.3.91.960202182844.45749A-100000@asterix.uni-muenster.de>
- NNTP-Posting-Host: asterix.uni-muenster.de
- Mime-Version: 1.0
- Content-Type: TEXT/PLAIN; charset=US-ASCII
-
-
- Hi All,
-
- when using inherited virtual functions, how can I simply call the
- "inherited" function without knowing the name of the parent class?
-
- -> While I am developing a graphical user interface, I sometimes need to
- "insert" a class in the class hierarchy, so I don't want to change all the
- "subclasses" code when "inserting" the new class. In Turbo Pascal there was
- the keyword "inherited" so I could call something like
- "inherited myfunction ();" but how can I resolve this expression in c++ ???
-
- cu gerry
-
- kutzeln@uni-muenster.de
-